Dave wrote:
Now that we have a (mostly) functional extended plugin manager system, we need to re-factor the UI for plugin management overall.
I understand that the “biggie” here is integration of the two lists. Lots of code, and won't be done in a day. The rest will be subject to tweaking as we move along. But I am certain that we should make this effort to harmonize and simplify the UI now, before we even try to introduce the new plugin concepts in the wild. After all, we all hope that in a year, there will be NO interesting legacy plugins….
Dave
'==============='
Rick wrote:
Selection of a “Channel” is intended to be selection of a Github Branch from https://github.com/OpenCPN/plugins/
There is a one to one correspondence
Channel = URL
However we are actually looking for the ocpn-plugins.xml catalog for each of these branches so it is actually this correspondence
When the user selects from the dropdown one of these Channels or set Github Branches both the “Channel” and the underlying “URL” must change and the catalog data fetched from the respective website url, read into the Plugin Manager List and finally displayed properly.
There is no reason this can't be clearer.
If it has trouble doing this have the appropriate failure messages:
This does not require a complicated menu system, it could be a drop down Channel selection at the top of the Plugin Manager Listing, with an Update button, which loads the new catalog and displays it below.
Then there some Advanced functions needed.
Rollback functionality is represented by the current “Advanced Catalog/Manage-Plugin-Catalog” menu to a greater or lesser degree.
Why not label it “Advanced Catalog”
Show the Channel that has been selected previously, for Example “Alpha” or “Custom”
Then just show the current and last 2 commits with ocpn-plugins.xml (if they exist) and the commit date
Advanced Catalog
Channel: [Alpha]
“Select as active Catalog”
(Current [Date]) (As a selection button)
(Recent [Date]) (As a selection button)
(Previous [Date]) (As a selection button)
Note: Selection of these buttons complete the action (no need to hit “Done”), the menu closes and the Plugin Manager List redisplays the catalog.